projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e35f99f
)
* src/syntax.c: Fix result of syntax_multibyte()
author
Aurelien Aptel
<aaptel@suse.com>
Fri, 26 Feb 2016 19:34:40 +0000
(20:34 +0100)
committer
Aurelien Aptel
<aaptel@suse.com>
Fri, 26 Feb 2016 20:22:23 +0000
(21:22 +0100)
The ?: operator has a lower precedence than ||.
Bug introduced by commit
45b683a
.
src/syntax.c
patch
|
blob
|
history
diff --git
a/src/syntax.c
b/src/syntax.c
index 249d0d58bc6e594448ece9ebc8e42ea7b22e37ed..9fc76a6304511d5e09b424059ef4087477329324 100644
(file)
--- a/
src/syntax.c
+++ b/
src/syntax.c
@@
-2637,7
+2637,7
@@
between them, return t; otherwise return nil. */)
static enum syntaxcode
syntax_multibyte (int c, bool multibyte_symbol_p)
{
- return
ASCII_CHAR_P (c) || !multibyte_symbol_p
? SYNTAX (c) : Ssymbol;
+ return
(ASCII_CHAR_P (c) || !multibyte_symbol_p)
? SYNTAX (c) : Ssymbol;
}
static Lisp_Object